import multiprocessing


def worker_function(name):
    print(f"Worker {name} is doing some work")


if __name__ == '__main__':
    processes = []
    for i in range(4):
        p = multiprocessing.Process(target=worker_function, args=(i,))
        processes.append(p)
        p.start()

    for p in processes:
        p.join()
